﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;

namespace DB
{
    public interface IDbTicket
    {
        int InsertTicket(Booking booking, Seat seat, double price, int bookingId);

        int GetTicketId(Ticket ticketObj);

        List<Ticket> FindTickets(int bookingId, bool retriveAssociation);

        int FindBookingIdFromTicket(Ticket ticketObj);
    }
}
